package ru.ncedu.java.dmsi.robots.strategies.impl;

import ru.ncedu.java.dmsi.robots.actions.Action;
import ru.ncedu.java.dmsi.robots.model.ActionContext;
import ru.ncedu.java.dmsi.robots.actions.impl.MoveAction;
import ru.ncedu.java.dmsi.robots.strategies.RobotStrategy;

public class StayStrategy implements RobotStrategy {
    @Override
    public Action getAction(ActionContext context) {
        return new MoveAction(context.getCurrentLocation());
    }
}
